home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr29 / memsize.zip / DEBUG.H < prev    next >
Text File  |  1995-01-04  |  1KB  |  35 lines

  1. /******************************************************************** DEBUG.H
  2.  *                                                                          *
  3.  *  Debugging Aids                                                          *
  4.  *                                                                          *
  5.  ****************************************************************************/
  6.  
  7. #ifndef DEBUG_H
  8. #define DEBUG_H
  9.  
  10. #include "hrtimer.h"
  11.  
  12. extern HFILE Timer ;
  13. extern BOOL Trace ;
  14.  
  15. extern VOID Debug ( HWND hwnd, char *Message, ... ) ;
  16. extern VOID Log ( char *Message, ... ) ;
  17.  
  18. extern BOOL OpenTimer ( VOID ) ;
  19. extern VOID CloseTimer ( VOID ) ;
  20. extern BOOL GetTime ( PTIMESTAMP pts ) ;
  21. extern ULONG ComputeElapsedTime ( PTIMESTAMP ptsStart, PTIMESTAMP ptsStop, PULONG pulNs ) ;
  22.  
  23. extern PVOID AllocateMemory ( ULONG ByteCount ) ;
  24. extern VOID FreeMemory ( PVOID Memory ) ;
  25.  
  26. extern ULONG APIENTRY ExceptionHandler
  27. (
  28.   PEXCEPTIONREPORTRECORD pExceptionReportRecord,
  29.   PEXCEPTIONREGISTRATIONRECORD pExceptionRegistrationRecord,
  30.   PCONTEXTRECORD pContextRecord,
  31.   PVOID pDispatcherContext
  32. ) ;
  33.  
  34. #endif
  35.